package com.prefboss.job.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author XuJiangbo
 * @since 2020-06-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="XxlJobGroup对象", description="")
public class XxlJobGroup implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "执行器AppName")
    private String appName;

    @ApiModelProperty(value = "执行器名称")
    private String title;

    @ApiModelProperty(value = "执行器地址类型：0=自动注册、1=手动录入")
    private Integer addressType;

    @ApiModelProperty(value = "执行器地址列表，多地址逗号分隔")
    private String addressList;


}
